// 定义 props 的类型
interface TestProps {
  count: number
}

const Test = (props: TestProps) => {
  return (
    <div>
      <div>Test:{props.count}</div>
    </div>
  )
}

export default Test
